const routes =  [
    {
        path: '/${entity?uncap_first}',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../${cfg.tablePrefix}/src': '@') + '/views/${cfg.moduleName?replace('.','/')}/${entity}.vue'),
        meta: {
            titleCode:'',
            root:true,
            keepAlive: true,
            title: '${table.comment!}管理'
        }
    },
    {
        path: '/${entity?uncap_first}/${entity?uncap_first}Add',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../${cfg.tablePrefix}/src': '@') + '/views/${cfg.moduleName?replace('.','/')}/${entity}Add.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '${table.comment!}添加'
        }
    },
    {
        path: '/${entity?uncap_first}/${entity?uncap_first}Edit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../${cfg.tablePrefix}/src': '@') + '/views/${cfg.moduleName?replace('.','/')}/${entity}Edit.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '${table.comment!}编辑'
        }
    },

]
export default routes